<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<div>
	<form id="infoForm" target="hiddenFrame"
		action="${path}/mc/activityUsersaveInfo" method="post"
		enctype="multipart/form-data">
		<input type="hidden" name="entity.id" value="${entity.id}" />
		<fieldset style="padding-left: 10px;">
			<%-- <table>
				<tr>
					<td>订单号</td>
					<td><input type="text" name="entity.orderSn"
						value="<c:choose><c:when test="${empty entity.orderSn}"></c:when><c:otherwise>${entity.orderSn}</c:otherwise></c:choose>"
						class="{required:true,messages:{required:'订单号不能为空'}}"></td>
				</tr>
				<tr>
					<td>活动id</td>
					<td><input type="text" name="entity.activityId"
						value="<c:choose><c:when test="${empty entity.activityId}"></c:when><c:otherwise>${entity.activityId}</c:otherwise></c:choose>"
						class="{required:true,messages:{required:'活动id不能为空'}}"></td>
				</tr>
				<tr>
					<td>封面图片id</td>
					<td><input type="text" name="entity.coverPicId"
						value="<c:choose><c:when test="${empty entity.coverPicId}"></c:when><c:otherwise>${entity.coverPicId}</c:otherwise></c:choose>"
						class="{required:true,messages:{required:'封面图片id不能为空'}}">
					</td>
				</tr>
				<tr>
					<td>活动标题</td>
					<td><input type="text" name="entity.title"
						value="<c:choose><c:when test="${empty entity.title}"></c:when><c:otherwise>${entity.title}</c:otherwise></c:choose>"
						class="{required:true,messages:{required:'活动标题不能为空'}}"></td>
				</tr>
				<tr>
					<td>活动开始时间</td>
					<td class="right"><input name="entity.beginTime" type="text"
						class="time endTimeClass searchInputAndSelect" readonly="readonly"
						value="<fmt:formatDate value="${entity.beginTime}" pattern="yyyy-MM-dd" />" />
					</td>
				</tr>
				<tr>
					<td>参加活动的用户id</td>
					<td><input type="text" name="entity.joinUserId"
						value="<c:choose><c:when test="${empty entity.joinUserId}"></c:when><c:otherwise>${entity.joinUserId}</c:otherwise></c:choose>"
						class="{required:true,messages:{required:'参加活动的用户id不能为空'}}">
					</td>
				</tr>
				<tr>
					<td>大人数量</td>
					<td><input type="text" name="entity.adultCount"
						value="<c:choose><c:when test="${empty entity.adultCount}"></c:when><c:otherwise>${entity.adultCount}</c:otherwise></c:choose>"
						class="{required:true,number:true,messages:{required:'大人数量不能为空',number:'请输入数字'}}">
					</td>
				</tr>
				<tr>
					<td>小孩数量</td>
					<td><input type="text" name="entity.childCount"
						value="<c:choose><c:when test="${empty entity.childCount}"></c:when><c:otherwise>${entity.childCount}</c:otherwise></c:choose>"
						class="{required:true,number:true,messages:{required:'小孩数量不能为空',number:'请输入数字'}}">
					</td>
				</tr>
				<tr>
					<td>大人价格</td>
					<td><input type="text" name="entity.adultPrice"
						value="<c:choose><c:when test="${empty entity.adultPrice}"></c:when><c:otherwise>${entity.adultPrice}</c:otherwise></c:choose>"
						class="{required:true,number:true,messages:{required:'大人价格不能为空',number:'请输入数字'}}">
					</td>
				</tr>
				<tr>
					<td>小孩价格</td>
					<td><input type="text" name="entity.childPrice"
						value="<c:choose><c:when test="${empty entity.childPrice}"></c:when><c:otherwise>${entity.childPrice}</c:otherwise></c:choose>"
						class="{required:true,number:true,messages:{required:'小孩价格不能为空',number:'请输入数字'}}">
					</td>
				</tr>
				<tr>
					<td>联系人姓名</td>
					<td><input type="text" name="entity.contactPerson"
						value="<c:choose><c:when test="${empty entity.contactPerson}"></c:when><c:otherwise>${entity.contactPerson}</c:otherwise></c:choose>"
						class="{required:true,messages:{required:'联系人姓名不能为空'}}"></td>
				</tr>
				<tr>
					<td>联系人号码</td>
					<td><input type="text" name="entity.contactNum"
						value="<c:choose><c:when test="${empty entity.contactNum}"></c:when><c:otherwise>${entity.contactNum}</c:otherwise></c:choose>"
						class="{required:true,number:true,messages:{required:'联系人号码不能为空',number:'请输入数字'}}">
					</td>
				</tr>
				<tr>
					<td>报名状态</td>
					<td><select name="entity.joinState" dir="${entity.joinState}">
							<option value="1">报名成功（已付款）</option>
							<option value="2">未付款</option>
					</select></td>
				</tr>
				<tr>
					<td>支付方式</td>
					<td><select name="entity.payWay" dir="${entity.payWay}">
							<option value="weixin">微信</option>
							<option value="alipay">支付宝</option>
					</select></td>
				</tr>
			</table> --%>
		</fieldset>
	</form>
</div>
